package com.kingyun.gpsinspection.purificationservice.facade.service.iam.manage;

import com.alibaba.fastjson.JSONObject;
import com.kingyun.gpsinspection.purificationservice.facade.model.iam.manage.MaterialsOutbound;

/**
 * Created by yangsy on 2016/12/8.
 */

public interface MaterialsOutboundService {

    int deleteByPrimaryKey(String materialsOutboundId);

    int insert(MaterialsOutbound record);

    int insertSelective(MaterialsOutbound record);

    MaterialsOutbound selectByPrimaryKey(String materialsOutboundId);

    int updateByPrimaryKeySelective(MaterialsOutbound record);

    int updateByPrimaryKey(MaterialsOutbound record);

    JSONObject list(MaterialsOutbound materialsOutbound);

    /***
     *
     * @param record 业务数据
     * @param uploadFiles 更新的文件
     * @param deletedFiles 删除的文件
     * @return
     */
    int insertSelective(MaterialsOutbound record, String uploadFiles, String deletedFiles);
}
